home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / checkbox / patches / 0.1-ubuntu3 < prev    next >
Text File  |  2009-11-05  |  280b  |  13 lines

  1. #!/bin/sh
  2.  
  3. config_file="/etc/hwtest.d/$1.ini"
  4.  
  5. if [ "$1" = "hwtest" ]; then
  6.     sed -i 's|hwtest/plugins/manual_prompt|hwtest/plugins/questions_info|' $config_file
  7.     cat <<'EOF' >>$config_file
  8. [hwtest/plugins/questions_info]
  9. directories = %(hwtest_directory)s/questions
  10.  
  11. EOF
  12. fi
  13.